package emulator.shell.GUI.IECwindow;

public class DeviceInfo {
	private boolean is_enabled = false;
	private int address = 0;
	private String type = "";
	private String file = "";
	
	DeviceInfo(int address, String type, String file)
	{
		this.address = address;
		this.type = type;
		this.file = file;
		this.is_enabled = true;
	}
	
	public void setEnabled(boolean is_enabled) {
		this.is_enabled = is_enabled;
	}
	
	public boolean isEnabled() {
		return is_enabled;
	}
	
	public void setAddress(int address) {
		this.address = address;
	}
	
	public int getAddress() {
		return address;
	}
	
	public void setType(String type) {
		this.type = type;
	}
	
	public String getType() {
		return type;
	}
	
	public void setFile(String file) {
		this.file = file;
	}
	
	public String getFile() {
		return file;
	}
}
